package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.Customer;
import com.github.pagehelper.PageInfo;

/**
 * @author:ahang
 * @create:2022-12-12 13:43
 * @Description:
 */
public interface CustomerService {
    /**
     * 客户列表分页
     * @param page
     * @param rows
     * @param customerName
     * @return
     */
    PageInfo<Customer> getCustList(Integer page, Integer rows, String customerName);

    /**
     * 添加客户
     * @param customer
     */
    void savaCust(Customer customer);

    /**
     * 修改客户
     * @param customer
     * @param customerId
     */
    void updataCust(Customer customer, Integer customerId);

    /**
     * 删除客户
     * @param ids
     */
    void removeCusts(String ids);
}
